package com.snack.shop.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 微信支付请求DTO
 */
@Data
@Schema(description = "微信支付请求参数")
public class WxPayRequestDTO {

    @NotNull(message = "订单ID不能为空")
    @Schema(description = "订单ID")
    private Long orderId;

    @Schema(description = "用户openid（从小程序端传递）")
    private String openid;
}

